<!Doctype html>
<html>
	<head>
		<title></title>
		<style type="text/css">
/*p:nth-child(2) { color: red; }*/
p:nth-of-type(2) { color: red; }
.one{width:200px;height:20000px;}
		</style>
	</head>
	<body>
		<section>
			 <div>我是一个普通的div标签</div>
		    <p>我是第1个p标签</p>
		    <p>我是第2个p标签</p>  <!-- 希望这个变红 -->
		</section>

		<div class="one"></div>
	</body>

	<script type="text/javascript">
	/*var url = window.location.search;
	var url1 = url.substr(1);
	var arr = url1.split("&")
	console.log(url,url1);
	for(var i=0; i<arr.length; i++){
		console.log(arr[i]);
	}*/
	var url = window.location.hash;
	console.log(url);


	</script>
</html>
